package org.jeecg.modules.online.desform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 表单设计器路由跳转配置表
 * @Author: jeecg-boot
 * @Date: 2020-03-25
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@TableName("design_form_route")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "design_form_route对象", description = "表单设计器路由跳转配置表")
public class DesignFormRoute {

    /**
     * ID
     */
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
    /**
     * 表单设计ID
     */
    @Excel(name = "表单设计ID", width = 15)
    @ApiModelProperty(value = "表单设计ID")
    private java.lang.String desformId;
    /**
     * 表单设计编码
     */
    @Excel(name = "表单设计编码", width = 15)
    @ApiModelProperty(value = "表单设计编码")
    private java.lang.String desformCode;
    /**
     * 路由跳转类型（1=表单跳转；2=菜单跳转；3=外部跳转）
     */
    @Excel(name = "路由名称", width = 15)
    @ApiModelProperty(value = "路由名称")
    private java.lang.String routeName;
    /**
     * 路由跳转类型（1=表单跳转；2=菜单跳转；3=外部跳转）
     */
    @Dict(dicCode = "desform_route_type")
    @Excel(name = "路由跳转类型", width = 15, dicCode = "desform_route_type")
    @ApiModelProperty(value = "路由跳转类型")
    private java.lang.String routeType;
    /**
     * 下一步路由地址（表单跳转时填表单的code；菜单跳转填菜单路径；外部跳转填全链接）
     */
    @Excel(name = "下一步路由地址", width = 15)
    @ApiModelProperty(value = "下一步路由地址")
    private java.lang.String routePath;
    /**
     * 状态（0=无效，1=有效）
     */
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private java.lang.Integer status;
    /**
     * 创建人
     */
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
     * 修改人
     */
    @Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
    /**
     * 修改时间
     */
    @Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
}
